const Router = require('koa-router');
const authMiddleware = require('../middlewares/auth');
const { getOrderList } = require('../controllers/orderController');

const router = new Router({
  prefix: '/api/order'
});

router.get('/list', authMiddleware,  getOrderList);

module.exports = router;
